package com.work.service;

import com.work.bean.Teacher;

import java.util.List;

public interface TeacherService {
    public List<Teacher> queryTeacher();

    public Teacher queryTeacherById(Integer id);

    public int saveTeacher(Teacher teacher);

    public int updateTeacher(Teacher teacher);

    public int deleteTeacher(Integer id);
}
